<!DOCTYPE html>
<html
  lang="zh
  CN"
>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .father {
        background-color: pink;
        width: 500px;
        height: 500px;
        border: 5px solid black;
        padding: 10px;
        margin: 20px;
        display: flex;
        margin: 10px;
        padding: 20px;
        /* 主轴对齐方式 */
        justify-content: space-between;
        /* 交叉轴对齐方式 */
        align-items: center;
      }
      .one {
        background-color: green;
        align-self: stretch;
      }
    </style>
  </head>
  <body class="father">
    <div class="one">标签</div>
    <div>标签</div>
    <div>标签</div>
    <div>标签</div>
    <div>标签</div>
  </body>
</html>
